﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace QuDao.Api
{
    [ApiController]
    [ApiResultFilter]
    [Route("[controller]/[action]")]
    [ApiLog(IsLogRequest = true, IsLogResponse = false)]
    [ApiAuth(AuthMethod = AuthMethod.Jwt, IsDebug = false)]
    public class ApiControllerBase : ControllerBase
    {
    }

    [ApiController]
    [Route("[controller]/[action]")]
    //[ApiLog(IsLogRequest = true, IsLogResponse = false)]
    //[ApiAuth(AuthMethod = AuthMethod.IP, IsDebug = true)]
    public class OpenApiControllerBase : ControllerBase
    {
    }
}
